import Logger from '@ohos.hilog';
import { Constants } from './Constants';

export class Log {
    private static domain: number = 0x00;
    static info = (format: string, ...args: any[]) => {
        Logger.info(Log.domain, Constants.LOG_TAG_NAME, format, args);
    }
    static error = (format: string, ...args: any[]) => {
        Logger.error(Log.domain, Constants.LOG_TAG_NAME, format, args);
    }
}